//
// Created by ChenJi on 2020/12/5.
//

#ifndef WARNER_USART_EXTERN_H
#define WARNER_USART_EXTERN_H

#endif //WARNER_USART_EXTERN_H
#include "main.h"
void EX_DMA_Receive_Init();
__weak void onUART1Receive(uint8_t data);
__weak void onUART2Receive(uint8_t data);
__weak void onUART3Receive(uint8_t data);
__weak void onUART4Receive(uint8_t data);
HAL_StatusTypeDef sendData(uint8_t *data,UART_HandleTypeDef *uart,uint16_t len);
HAL_StatusTypeDef sendData_DMA(uint8_t *data,UART_HandleTypeDef *uart,uint16_t len);
HAL_StatusTypeDef debug_UART1(uint8_t *data,uint16_t len);
__weak void onVerifyFailed(uint8_t code);
__weak void onVerifyAmountOverLimit();
__weak void onVerifySuccess(uint16_t number,uint16_t score);
